import request from "@/until/axios";
import government from "./government";
export const governmentswipe = () =>
    request({
        method: "get",
        url: government.government.governmentswipe,
        headers: {
            "Authorization": window.localStorage.getItem("token")
        }
    });
export const governmentdemand = () =>
    request({
        method: "get",
        url: government.government.governmentdemand,
        headers: {
            "Authorization": window.localStorage.getItem("token")
        }
    });
export const governmentdata = (params) =>
    request({
        method: "get",
        url: government.government.governmentdata,
        params,
        headers: {
            "Authorization": window.localStorage.getItem("token")
        }
    });
export const governmentget = (data) =>
    request({
        method: "post",
        url: government.government.governmentget,
        data,
        headers: {
            "Authorization": window.localStorage.getItem("token")
        }
    });
export const governmentlist = () =>
    request({
        method: "get",
        url: government.government.governmentlist,
        headers: {
            "Authorization": window.localStorage.getItem("token")
        }
    });